package org.keyboardman.mapper;

import org.apache.ibatis.annotations.Param;
import org.keyboardman.model.Role;
import org.keyboardman.model.RoleExample;

public interface RoleMapper {
    int countByExample(RoleExample example);

    int deleteByPrimaryKey(String id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Role record, @Param("example") RoleExample example);

    int updateByExample(@Param("record") Role record, @Param("example") RoleExample example);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
}